package com.zara.store.client.controller;

import java.io.File;
import java.io.IOException;

import com.zara.store.client.clientmodel.OfadModel;
import com.zara.store.client.view.OfadView;

import framework.clientmodel.Model;
import framework.controller.Controller;

public class OfadController extends Controller {
	
	public OfadController(Model ofadModel, OfadView ofadView) {
		super(ofadModel, ofadView);
	}
	
	public void processOfad(File file) throws IOException {
		OfadModel model = (OfadModel)getModel();
		model.createOfad(file);
	}
}
